package com.zmc.search.bean;

import com.zmc.common.annotation.EsQuery;
import com.zmc.common.enums.es.EsQueryEnum;
import lombok.Data;

/**
 * @Author：zmc
 * @Date：2024/11/29 13:50
 */

@Data
public class EsSearchVo {

    @EsQuery(name = "skuPrice", value = EsQueryEnum.RANGE_QUERY)
    public String price;


    @EsQuery(name = "spuTitle",value = EsQueryEnum.VAGUE_QUERY, highlight = true)
    public String title;

    @EsQuery(name = "brandId",value = EsQueryEnum.FILTER_QUERY)
    public Long brandId;

    @EsQuery(name = "categoryId",value = EsQueryEnum.FILTER_QUERY)
    public Long categoryId;
}
